#ifndef DIFFGNSS_H
#define DIFFGNSS_H
/*
#include "Gnss.h"
#include "Ublox.h"
#include "SatOrbit.h"
#include "System.h"
*/
#ifndef MAXSAT
#define MAXSAT 32
#endif
// diff correction struct
#pragma pack(1)
typedef struct {        /* raw data */
	double tow;	// GPS time of the week in second
	unsigned char numBds;

	unsigned char numGln;
	unsigned char System[MAXSAT];	// system, 0, 1, 2 GPS, BDS & GLN
	unsigned char PRN[MAXSAT];	// PRN number
	double dDO[MAXSAT];	// Doppler in Hz

	unsigned char numGps;
	
	double dPR[MAXSAT];	// pseudorange in meter
} diff_t;
#pragma pack()

//void ApplyDiffCorrect(obs_t *Obs);

#endif

